package com.ftg.learn.psi.service;

import com.ftg.learn.psi.entity.Item;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author guoBingTong
 * @since 2022-05-18
 */
public interface IItemService extends IService<Item> {

    /**
     * 根据商品条码实现商品的查询
     * @param code
     * @return
     */
    List<Map<String,Object>> findOneItemByCode(String code);

}
